/**
 * 使用自动化工具生成 version 1.0 
 * @author Jason.Wang
 * @blog http://kany.me
 * @email kzone.wang@gmail.com
 */
package me.kany.project.spring.boot.service;
import java.io.Serializable;
import java.util.List;

import com.github.pagehelper.PageInfo;

import me.kany.project.spring.boot.model.BlogDoc;

/**
 *
 * @author Jason.Wang
 * @version $Id: IBlogDocService.java, v 0.1 Jason.Wang Exp $.
 */
public interface IBlogDocService extends Serializable{

	/**
	 * 保存BlogDoc对象
	 * @param blogDoc
	 */
	public int saveBlogDoc(BlogDoc blogDoc) throws Exception;

	/**
	 * 保存BlogDoc对象并不插入空数据
	 * @param blogDoc
	 */
	public int saveBlogDocSelective(BlogDoc blogDoc) throws Exception;

	/**
	 * 根据docId删除BlogDoc
	 * @param docId
	 */
	public void deleteBlogDocBydocId(java.lang.Integer docId) throws Exception;

	/**
	 * 更新对象BlogDoc
	 * @param blogDoc
	 */
	public int updateBlogDoc(BlogDoc blogDoc) throws Exception;

	/**
	 * 根据docId获取BlogDoc
	 * @param docId
	 * @return BlogDoc
	 */
	public BlogDoc queryBlogDoc(java.lang.Integer docId) throws Exception;

	/**
	 * 根据对象获取所有的BlogDoc集合
	 * @param blogDoc
	 * @return List<BlogDoc>
	 */
	public List<BlogDoc> queryBlogDocList(BlogDoc blogDoc) throws Exception;

	/**
	 * 
	 * queryBlogDocListByPageInfo:根据分页信息获取文章信息. <br/>
	 *
	 * @author Jason.Wang
	 * @param blogDoc
	 * @return
	 * @throws Exception
	 * @since JDK 1.7
	 */
	public PageInfo<BlogDoc> queryBlogDocListByPageInfo(BlogDoc blogDoc) throws Exception;

}